<script setup lang="ts">
defineProps({
  name: {
    type: String,
    default: '',
  },
  desc: {
    type: String,
    default: '',
  },
})
const emits = defineEmits(['click'])
</script>

<template>
  <view
    class="h-[48px] flex flex-col justify-center rounded-[5px] bg-white p-2"
    @click="emits('click')"
  >
    <wd-text :text="name" color="#333333" bold size="14px" />
    <wd-text :text="desc" size="12px" class="mt-2" />
  </view>
</template>

<style scoped lang="scss"></style>
